/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package bai7;

import java.util.Scanner;

/**
 *
 * @author PhamPhuong
 */
public class GiangVienThinhGiang extends GiangVien{
     
    public int _sohDayTrongThang;
    public String _tenCoQuanLamViec;
    
    public void Nhap(){
        Scanner scan = new Scanner(System.in);
        System.out.print("Nhap Ten Giang Vien:");
        _Ten = scan.nextLine();
        System.out.print("Nhap Dia Chi:");
        _DiaChi = scan.nextLine();
        System.out.print("Nhap Ten DienThoai:");
        _DienThoai = scan.nextLine();
        System.out.print("Nhap Email:");
        _Email = scan.nextLine();
        System.out.print("Nhap So h Day Trong Thang:");
        _sohDayTrongThang = scan.nextInt();
        System.out.print("Nhap Co Quan Lam Viec:");
        _tenCoQuanLamViec = scan.nextLine();
         System.out.print("----------------------");
    }
    public void Xuat(){
        System.out.println("Giang Vien:" + _Ten);
        System.out.println("Dia Chi:" + _DiaChi);
        System.out.println("Dien Thoai:" + _DienThoai);
        System.out.println("Email:" + _Email);
        System.out.println("So h Day Trong Thang:" + _sohDayTrongThang);
        System.out.println("Co Quan Lam viec:" + _tenCoQuanLamViec);
        System.out.print("----------------------");
    }
    public double TinhLuong(){
       return _sohDayTrongThang*200000;
    }
}
